GUI Help > Special > selectItem

selectItem
selectItem handle gadget, int index

Description:
Selects an item in a listbox or combobox. The selected item is drawn in white with a blue background.

Return Value:


Parameters:
gadget Handle to a listbox or combobox gadget
index Index of item to select. First item has an index of 0.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)